package com.hxx.day1.controller;

import com.hxx.day1.service.StudentService;
import com.hxx.day1.service.impl.StudentServiceImpl;

public class StudentController {
    StudentService studentDao = new StudentServiceImpl();

    public void save(int i){
    	studentDao.save(i);
    }
    public void delete(int i){
    	studentDao.delete(i);
    }
    public void update(int i,int n){
    	studentDao.update(i,n);
    }
    public void find(int i){
    	studentDao.find(i);
    }
    public void findAll(){
    	studentDao.findAll();
    }

}































